package com.tanhua.common.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: User
 * @Author:王晨晗
 * @Description:  用户基本信息实体类
 * @Date: 2021/12/25/18:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User extends BasePojo{
    private Long id;
    private String mobile; //手机号

    @JsonIgnore   //表示序列化该对象时 , 不将此属性写入
    private String password; //密码，json序列化时忽略
}
